﻿using HalconDotNet;
using Halcon二次开发.Controller.主界面交互;
using Halcon二次开发.Model.图像绑定流程图显示;
using Halcon二次开发.Model.自定义控件;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Halcon二次开发.Model
{
    public class StaicResouce
    {
        /// <summary>
        /// 主页面图像显示变量
        /// </summary>
        public static HImage HImage { get; set; }
        /// <summary>
        /// 图像路径加绑定的自定义控件(HWindowSmart与流程图)
        /// </summary>
       // public static List<PathExtend> PathExtends = new List<PathExtend>();
        /// <summary>
        /// 记录的的模板原始行坐标
        /// </summary>
        public static HTuple ShapRow { get; set; }
        /// <summary>
        /// 记录的的模板原始列坐标
        /// </summary>
        public static HTuple ShapCol { get; set; }
        /// <summary>
        /// 记录的的模板原始弧度
        /// </summary>
        public static HTuple ShapAngle { get; set; }
        /// <summary>
        /// 记录的的模板原始缩放
        /// </summary>
        public static HTuple ShapeScale { get; set; }

        /// <summary>
        /// 工程的名字
        /// </summary>
        public static List<string> FilesName = new List<string>();

        /// <summary>
        /// 主页面的流程图,samart视图集合
        /// </summary>
        public static List<UserControl> HomeForms = new List<UserControl>();

        /// <summary>
        /// 
        /// </summary>

        public static List<Form1Controller> formCollections = new List<Form1Controller>();    
        /// <summary>
        /// 当前工作位的界面
        /// </summary>
        public static HwindowFlowNodeUrseControl HwindowFlowNodeUrse { get; set; }
    }
}
